package com.wanbatv.wangwangba.chengzhang;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import com.wanbatv.wangwangba.R;

/**
 * Created by 俞亚楠 on 2015/8/28.
 */
public class ChengzhangLayout extends LinearLayout {
    private Context context;
    private AttributeSet attrs;
    public ChengzhangLayout(Context context){
        super(context);
        this.context=context;
        LayoutInflater.from(context).inflate(R.layout.chengzhangriji_zhaopian_layout, this, true);


    }
    public ChengzhangLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context = context;
        this.attrs = attrs;
        LayoutInflater.from(context).inflate(R.layout.chengzhangriji_zhaopian_layout, this, true);

    }
}
